package com.qf.purchase.po;

/**
 * Copyright (C),2022
 * FileName: City
 * Date:2022/5/7 10:05
 */
public class City {
    private int id;
    private String number;
    private String name;
    private int pId;

    public City(String number, String name, int pId) {
        this.number = number;
        this.name = name;
        this.pId = pId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", pId=" + pId +
                '}';
    }
}
